<?php
defined('ANT_ACCESS') or die('Access denided');
/**
 * Ant Framework
 *
 * An open source application development framework for PHP 5
 *
 * @package		Ant Framework
 * @author		Meshin Dmitriy
 * @copyright	Copyright (c) 2008, Meshin Dmitriy
 * @license		GNU Public Lisence v2
 * @link		http://code.google.com/p/ant-framework
 * @desc		Headers Class
 **/
	class ANT_headers{
		protected $headers = array();

		//	установка новых данных
		public function set_header($content){
			$this->headers[] = $content;
		}

		//	посылка хедеров
		public function send(){
			foreach($this->headers as $content){
				@header($content);
			}
		}
	}
?>